import { createRouter, createWebHashHistory } from 'vue-router';
import Home from '../views/Home.vue';
import HomeForMaster from '../views/HomeForMaster.vue';
import Sort from '../views/Sort.vue';
import test from '../views/test.vue';
import History from '../views/History.vue';

const routes = [
    {
        path: '/',
        name: 'Home',
        component: Home
    },
    {
        path: '/homeformaster',
        name: 'HomeForMaster',
        component: HomeForMaster
    },
    {
        path: '/sort',
        name: 'Sort',
        component: Sort
    },
    {
        path: '/test',
        name: 'test',
        component: test
    },
    {
        path: '/history',
        name: 'History',
        component: History
    }
];

const router = createRouter({
    history: createWebHashHistory(),
    routes
})

export default router;
